
<div id="clanakopsirno">

    <p style="margin-bottom: 0;"> <a href="" ><?=$article['column_name']?></a> / <a href="#" ><?=$article['subcolumn_name']?></a> / <a href="#" ><?=$article['uptitle']?></a></p>

    <h3><?=$article['uptitle']?></h3>
    <h2><?=$article['title']?></h2>

    <p class="introtxt" style="margin-bottom: 0;"><?=$article['intro']?></p>

    <?php 
        $dan = date('l', $article['datepublish']);
        $update_dan = date('l', $article['modified']);
        $mjesec = date('m', $article['datepublish']);
        $update_mjesec = date('m', $article['modified']);
        $dan_broj = date('d', $article['datepublish']);
        $update_dan_broj = date('d', $article['modified']);
        $godina = date('Y', $article['datepublish']);
        $update_godina = date('Y', $article['modified']);
        $datum = date('d.m.Y - H:i', $article['datepublish']);
        $update_datum = date('d.m.Y - H:i', $article['modified']);
        $sat = date('H:i', $article['datepublish']);   
        $update_sat = date('H:i', $article['modified']);   
    ?>

    <span class="podaci">
        <?=transDays($dan,'cir');?>, 
        <?=$dan_broj?>.<?=$mjesec?>.<?=$godina?> u <?=$sat?>
        <?
            if($article['modified']!= NULL){?>
            | Ажуриран  

            <?=transDays($update_dan,'cir');?>, 
            <?=$update_dan_broj?>.<?=$update_mjesec?>.<?=$update_godina?> u <?=$update_sat?>
            <?}
        ?>

        &nbsp;&nbsp; Пише <span class="author"><?=$article['firstname'].' '.$article['lastname']?></span>
        
        <br/>Број прегледа: <?=$article_count_view?>
    </span>
    
  
    <div class="separator clearfix" id="naslovnaimg" style="border: 0; width: 537px; height: 330px; margin-bottom: 0;">
        <?php	

            switch($article_media[0]['type']){
                case 'img':?>
                <img src="<?=$url.'cache/'.$this->img_map->showImage($article_media[0]['file'],537,330,"exacttop");?>" alt="<?=$article_media[0]['caption']?>" title="<?=$article_media[0]['caption']?>" width="537" height="330" /><?
                    break;

                case 'yt':?>
                <img src="<?=$url.'cache/'.$this->img_map->showImage($article_media[0]['file'].".jpg",537,330,"exacttop");?>" alt="<?=$article_media[0]['caption']?>" title="<?=$article_media[0]['caption']?>" width="537" height="330" /><?
                    break;
            }
        ?>
        <div class="nadnaslov overwrite"><?=$article_media[0]['caption']?></div>
    </div>
    <div class="separator" style="float : none; height: 0;"></div>

    <div id="text_hold">

        <?

            echo $article['text'];
            
		
         // UCITAJ KOMENTARE CLANKA
		
         $this->load->view("article/comments");
           
        ?>
    
    	
    

    </div>
    
</div>